package value;

import java.util.Arrays;
import java.util.Scanner;

/**
 * @Author Mucd
 * @ClassName HuiWen
 * @Date 2020/12/9/009
 * @Specification Alibaba
 */
public class HuiWen {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        char[] sarr = s.toCharArray();
        int i;
        for (i = 0; i < sarr.length / 2; i++) {
            if (sarr[i] != sarr[sarr.length - 1 - i]) {
                break;
            }
        }
        if (i == sarr.length / 2) {
            System.out.println(Arrays.toString(sarr) + "是回文数");
        } else {
            System.out.println(Arrays.toString(sarr) + "不是回文数");
        }

    }
}
